package com.cheetah.start.system.role.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cheetah.start.system.menu.domain.SysMenu;
import com.cheetah.start.system.role.domain.SysRoleMenu;

import java.util.List;

public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
    List<SysMenu> getMenuByRoleId(Integer roleId);

    List<String> getPermissionByAdminId(Integer adminId);
}
